-- GENERATED SPELL FOR [Ares the Oathbound] --


function spell0_24189(pUnit, Event) --@Shining Light,n/a--
pUnit:FullCastSpellOnTarget(43202,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24189', 0, 1)
end

function Sorts_24189(pUnit, Event)
local choix_sorts_24189 = math.random(0, 0)
if choix_sorts_24189 == 0 then
pUnit:RegisterEvent('spell0_24189', 1, 1)
end
end

function mob24189_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24189', math.random(1500, 3000), 1)
end

function mob24189_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24189_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24189_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24189, 1, 'mob24189_Action')
RegisterUnitEvent(24189, 2, 'mob24189_Leave')
RegisterUnitEvent(24189, 3, 'mob24189_Kill')
RegisterUnitEvent(24189, 4, 'mob24189_Die')
